package com.yunji.base.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yunji.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.user.dto
 * @Title: ManagerDTO
 * @Description: TODO:
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-06-21 09:33:40      V1.0        HuaAo       新建类
 */
@Data
public class ManagerDTO {

    @Excel(name = "主键ID")
    @ApiModelProperty("主键ID")
    private Long id;

    @Excel(name = "网点用户ID")
    @ApiModelProperty("网点用户ID")
    private Long managerId;

    @Excel(name = "网点用户名称")
    @ApiModelProperty("网点用户名称")
    private String managerName;

    @Excel(name = "网点用户电话")
    @ApiModelProperty("网点用户电话")
    private String managerPhone;

    @Excel(name = "代理用户ID")
    @ApiModelProperty("代理用户ID")
    private Long agentId;

    @Excel(name = "自定义定价(0:关闭;1开启; 默认0:关闭)")
    @ApiModelProperty("自定义定价(0:关闭;1开启; 默认0:关闭)")
    private Integer customPrice;

    @Excel(name = "员工分成方式(0:免费;1:比例分成;2:固定金额;)")
    @ApiModelProperty(value = "员工分成方式(0:免费;1:比例分成;2:固定金额; 默认0:免费)")
    private Integer scaleType;

    @Excel(name = "代理分成比例")
    @ApiModelProperty(value = "代理分成比例")
    private BigDecimal scale;

    @Excel(name = "微信开放OPENID")
    @ApiModelProperty("微信开放OPENID")
    private String openid;

    @Excel(name = "删除状态(0:未删除;1:已删除;)")
    @ApiModelProperty(value = "删除状态(0:未删除;1:已删除;)")
    private Integer delFlag;

    @Excel(name = "累计收益", width = 15)
    @ApiModelProperty("累计收益")
    private BigDecimal earnAmount;

    @Excel(name = "提现金额", width = 15)
    @ApiModelProperty("提现金额")
    private BigDecimal cashAmount;

    @Excel(name = "账户余额", width = 15)
    @ApiModelProperty("账户余额")
    private BigDecimal remainAmount;

    @Excel(name = "冻结金额", width = 15)
    @ApiModelProperty("冻结金额")
    private BigDecimal frozenAmount;

    @Excel(name = "退款金额", width = 15)
    @ApiModelProperty("退款金额")
    private BigDecimal refundAmount;

    @Excel(name = "网点ID", width = 15)
    @ApiModelProperty("网点ID")
    private Long siteId;

    @ApiModelProperty("网点分成合同开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date siteScaleDateS;

    @ApiModelProperty("网点分成合同结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date siteScaleDateE;

    @Excel(name = "网点名称", width = 15)
    @ApiModelProperty("网点名称")
    private String siteName;

}